<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="com.sisys.bean.User"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%
	String error = request.getParameter("result");
	if ("error".equals(error)) {
		error = "添加失败，请重新扫描！";
	} else {
		error = "";
	}
%>

<html xmlns="http://www.w3.org/1999/xhtml">
	<head>

		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

		<title>生产物流统计系统</title>

		<!--                       CSS                       -->

		<!-- Reset Stylesheet -->
		<link rel="stylesheet" href="resources/css/reset.css" type="text/css"
			media="screen" />

		<!-- Main Stylesheet -->
		<link rel="stylesheet" href="resources/css/style.css" type="text/css"
			media="screen" />

		<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
		<link rel="stylesheet" href="resources/css/invalid.css"
			type="text/css" media="screen" />

		<!-- Colour Schemes
	  
		Default colour scheme is green. Uncomment prefered stylesheet to use it.
		
		<link rel="stylesheet" href="resources/css/blue.css" type="text/css" media="screen" />
		
		<link rel="stylesheet" href="resources/css/red.css" type="text/css" media="screen" />  
	 
		-->

		<!-- Internet Explorer Fixes Stylesheet -->

		<!--[if lte IE 7]>
			<link rel="stylesheet" href="resources/css/ie.css" type="text/css" media="screen" />
		<![endif]-->

		<!--                       Javascripts                       -->


		<script language="JavaScript"> 
		function presubmit(){
		
			document.getElementById("barCode").focus();
		}
		
</script>

		<script type="text/javascript"
			src="resources/scripts/keyCheck.js">
	</script>
<!--<script language="JavaScript"> 
		function myrefresh() 
		{ 
			window.location.reload(); 
		} 
		setTimeout('myrefresh()',4000);
</script>
		--><!-- jQuery -->
		<script type="text/javascript"
			src="resources/scripts/jquery-1.3.2.min.js">
</script>

		<!-- jQuery Configuration -->
		<script type="text/javascript"
			src="resources/scripts/simpla.jquery.configuration.js">
</script>

		<!-- Facebox jQuery Plugin -->
		<script type="text/javascript" src="resources/scripts/facebox.js">
</script>

		<!-- jQuery WYSIWYG Plugin -->
		<script type="text/javascript"
			src="resources/scripts/jquery.wysiwyg.js">
</script>

		<!-- jQuery Datepicker Plugin -->
		<script type="text/javascript"
			src="resources/scripts/jquery.datePicker.js">
</script>
		<script type="text/javascript" src="resources/scripts/jquery.date.js">
</script>
		<!--[if IE]><script type="text/javascript" src="resources/scripts/jquery.bgiframe.js"></script><![endif]-->


		<!-- Internet Explorer .png-fix -->

		<!--[if IE 6]>
			<script type="text/javascript" src="resources/scripts/DD_belatedPNG_0.0.7a.js"></script>
			<script type="text/javascript">
				DD_belatedPNG.fix('.png_bg, img, li');
			</script>
		<![endif]-->

	</head>

	<body onload='presubmit()'>
	<p align="right"><a href="help.htm" target="_blank"><font size="7"></>使用说明</font></a></p>
		<div id="body-wrapper">
			<!-- Wrapper for the radial gradient background -->

			<jsp:include flush="true" page="banner_operator.jsp"></jsp:include>

			<div id="main-content">
				<!-- Main Content Section with everything -->

				<!-- Page Head -->
				<h2>
					Welcome!
				</h2>
				<p id="page-intro">
					What would you like to do?
				</p>

				<div class="clear"></div>
				<!-- End .clear -->

				<div class="content-box">
					<!-- Start Content Box -->

					<div class="content-box-header">

						<h3>
							条形码扫描
						</h3>


						<div class="clear"></div>

					</div>
					<!-- End .content-box-header -->

					<div class="content-box-content">

						<div class="tab-content default-tab" id="tab1">
							<!-- This is the target div. id must match the href of this div's tab -->
							<form name="myForm1" id="myForm1" action="codeSearch.action" method="post">
								<label>
									<%=error %>
								</label>

								<table>
									<tr>
										<td>
											请扫描条形码
										</td>
									</tr>
									<tr>
										<td>
											<input type="text" style="width: 300px" name="barCode" id="barCode" onkeypress="check(event)" onchange="recheck()">
										</td>
									</tr>
									
								</table>
							</form>

						</div>
						<!-- End #tab1 -->



					</div>
					<!-- End .content-box-content -->

				</div>
				<!-- End .content-box -->

				<div class="clear"></div>

				<jsp:include flush="true" page="footer.jsp"></jsp:include>

			</div>
			<!-- End #main-content -->

		</div>
	</body>


	<!-- Download From www.exet.tk-->
</html>
